package edu.sctu.zhoudie.mouth201505.day20150512;

/**
 * Created by user08 on 2015/5/14.
 */
public class TextChild extends Structure {

    TextOne[] MyTextOnes;
    public int i;

    public TextChild(TextOne[] textOnes) {
        super(textOnes);
        this.MyTextOnes = textOnes;
    }

    @Override
    public TextOne[] getSysyTem() {
        TextOne[] textOnes1 = new TextOne[10];
        for (i = 0; i < MyTextOnes.length; i++) {
            if (MyTextOnes[i].getGrade() > 60)
                textOnes1[i] = MyTextOnes[i];
        }

        return textOnes1;

    }
}